home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1995 #5 & #6
/
Amiga Plus CD - 1995 - No. 5 and 6.iso
/
pd
/
netz
/
archie
/
src
/
smakefile
< prev
Wrap
Makefile
|
1995-08-17
|
3KB
|
71 lines
# SAS/C 6.55 smakefile by George L. Coulouris 17.8.95
#
# Makefile for the minimal build for an archie Prospero client.
#
# For this, DEFINES is usually ok as-is. Try it without any of these
# first; if some stuff fails or shows up undefined, then come back and
# add 'em. Also please drop me a line if you had to add anything...ideally
# things will reach a point where this whole section will be unnecessary.
#
# * if you want to include the debugging code (so you
# can help with problem-solving if any crop up), add -DDEBUG
# * if you're running Interactive Unix, add -DISC
# * if you're running System V, add -DSYSV
# * if you're running a USG (System V.2) system, add -DUSG
# * if you're running UTS, add -DUTS
# * if your system doesn't have the functions index(),
# rindex(), bcopy(), or bzero(), add -DFUNCS
# * if your system is missing the getenv(3) routine, add -DGETENV
# * if your system doesn't have the re_comp/regcmp or re_exec/regex
# routines (no regex(3)/regcmp(3X) library), then add -DNOREGEX
# * if your system is lacking strspn(), add -DSTRSPN
# * if you're using the unbundled SparcCompiler on a
# Solaris 2 system, add -DSOLARIS2
DEFINES=DEF=NOREGEX DEF=FUNCS
# The default Archie server; choose one of:
# archie.ans.net (USA [NY])
# archie.rutgers.edu (USA [NJ])
# archie.sura.net (USA [MD])
# archie.unl.edu (USA [NE])
# archie.mcgill.ca (Canada)
# archie.funet.fi (Finland/Mainland Europe)
# archie.au (Australia)
# archie.doc.ic.ac.uk (Great Britain/Ireland)
# archie.wide.ad.jp (Japan)
# archie.ncu.edu.tw (Taiwan)
#
# Note this only applies to the command-line client; to change the
# default for the Emacs lisp version, set the archie-server variable.
ARCHIE=archie.ans.net
# =========================
# Yer' done....make archie.
# =========================
#
#CFLAGS=$(OPTIONS) $(DEFINES) -DARCHIE_HOST=\"$(ARCHIE)\"
CFLAGS=$(OPTIONS) $(DEFINES) DEF=ARCHIE_HOST="$(ARCHIE)"
VERSION=1.4.1
VMS_VERSION=`echo $(VERSION) | sed -e 's,\\.,_,g'`
OBJS= aquery.o archie.o atalloc.o dirsend.o get_pauth.o get_vdir.o \
getopt.o getopt1.o \
perrmesg.o procquery.o ptalloc.o regex.o stcopy.o support.o \
vlalloc.o vl_comp.o
all: archie
archie: $(OBJS)
$(CC) $(OBJS) lib amitcp:sdk/netlib/net.lib LINK
$(OBJS): archie.h pmachine.h pcompat.h Makefile
procquery.o: copyright.h
clean:
Delete $(OBJS) /bin/archie.lnk /bin/archie